<link rel='stylesheet' type='text/css' href='style.css' >
<!-- My Profile template -->
<div id='pagev'>{LANG:e49}</div><div id='myaccount'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td valign='top' width='200px'>
<div id='mamenu'>
<ul>
<li {IF {V:flag}=0}class='selected'{/IF}>{ACL}myprofile|flag=0|{LANG:m1}{/ACL}</li>
<li {IF {V:flag}=1}class='selected'{/IF}>{ACL}myprofile|flag=1|{LANG:m2}{/ACL}</li>
<li {IF {V:flag}=2}class='selected'{/IF}>{ACL}myprofile|flag=2|{LANG:m3}{/ACL}</li>
<li {IF {V:flag}=3}class='selected'{/IF}>{ACL}myprofile|flag=3|{LANG:m4}{/ACL}</li>
</ul></div>
</td><td valign='top' align='left' style='font-size:14px;'><div id='mcontent'>
{IF {V:flag}=0 }
<div id='pagev' align='right'>{LANG:m1}</div>
{V:message}
<table>
<tr>
<td valign='top'><img src='{V:img}' align='center' border='0' /></td>

<td valign='top'>
<div >
{LANG:e23}: <b>{V:data[0][firstname]}</b><br><br>
{LANG:e24}: <b>{V:data[0][lastname]}</b><br><br>
<hr>
{LANG:m11}: <b>{V:data[0][lastdate]}</b><br><br>
{LANG:m12}: <b>{V:data[0][lastip]}</b><br><br><hr>
{LANG:e25}<br>{V:data[0][personal]}
</div>
</td>
</tr>
</table>
{/IF}
{IF {V:flag} = 1 }
<div id='pagev' align='right'>{LANG:m2}</div>
<form action="" method="post">
<table>
<tr><td  class='forminputtitle'>{LANG:e23}</td><td><input type='text' size='30' name='fname' value='{V:data[0][firstname]}' ></td></tr>
<tr><td  class='forminputtitle'>{LANG:e24}</td><td><input type='text' size='30' name='lname' value='{V:data[0][lastname]}' ></td></tr>
<tr><td  class='forminputtitle' valign='top'>{LANG:e25}</td><td><textarea name='personal' cols='34' rows='8'>{V:data[0][personal]}</textarea></td></tr>
<tr><td colspan='2' align='center'><input type='Submit'  class='button' name='Submit' value='{LANG:e48}' style='font-weight:bold;' ></td></tr>
</table>
</form>
{/IF}
{IF {V:flag} = 2 }
<div id='pagev' align='right'>{LANG:m3}</div>
<form action="" method="post" enctype="multipart/form-data">
<table>
<tr><td valign='top'><img src='{V:img}' border='0' ></td><td>
<div class='note' >{LANG:File}</div>
<input type='file' name='picture' >
<hr>
<input type='Submit'  class='button' name='Submit' value='{LANG:e51}' style='font-weight:bold;' >
<input type="Submit"  class='button' name='Submit2' value='{LANG:e52}' >
</td></tr>
</table>
</form>
{/IF}
{IF {V:flag}=3 }
<div id='pagev' align='right'>{LANG:m4}</div>
{V:message}
<form action="" method="post">
<table>
<tr><td  class='forminputtitle' valign='top'>{LANG:m41}</td><td><input type='password' size='30' name='old' value='' ><hr></td></tr>
<tr><td  class='forminputtitle' valign='top'>{LANG:m42}</td><td><input type='password' size='30' name='new1' value='' ><br><span style='font-size:10px;color:#ccc;'>{LANG:m44}</span></td></tr>
<tr><td  class='forminputtitle'>{LANG:m43}</td><td><input type='password' size='30' name='new2' value='' ></td></tr>
<tr><td colspan='2' align='center'><input type='Submit' class='button' name='Submit' value='{LANG:e48}' style='font-weight:bold;' ></td></tr>
</table>
</form>
{/IF}
</div>
</td></tr></table>

</div><br><br>
<!-- End of My Profile template -->
